package com.sunwayworld.basemodule.basedata.progroup.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.selectable.resource.GenericSelectableResource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.basedata.progroup.bean.LimsGroupBean;
import com.sunwayworld.basemodule.basedata.progroup.service.LimsGroupService;
import com.sunwayworld.framework.support.base.resource.GenericResource;

@RequestMapping("/secure/basemodule/basedata/groups")
public interface LimsGroupResource extends GenericResource<LimsGroupService, LimsGroupBean, Long>,
        GenericSelectableResource<LimsGroupService, LimsGroupBean, Long> {

    @PostMapping(value = "/get-groupselectitems")
    JSONObject getGroupSelectItems(RestJsonWrapperBean jsonWrapperBean);
}
